﻿#pragma once

#include "../../MirControls/MirImageControl.h"
#include "../../MirControls/MirButton.h"
#include "../../MirControls/MirLabel.h"
#include <string>

using namespace Client::MirControls;
using namespace Client::MirGraphics;
using namespace Client::MirNetwork;
using namespace Client::MirSounds;
namespace C = ClientPackets;

namespace Client::MirScenes::Dialogs
{
    class MentorDialog final : public MirImageControl
    {
    public:
        MirImageControl *TitleLabel;
        MirButton *CloseButton, *AllowButton, *AddButton, *RemoveButton;
        MirLabel *MentorNameLabel, *MentorLevelLabel, *MentorOnlineLabel, *StudentNameLabel, *StudentLevelLabel, *StudentOnlineLabel, *MentorLabel, *StudentLabel, *MenteeEXPLabel;

        std::string MentorName;
        unsigned short MentorLevel = 0;
        bool MentorOnline = false;
        long long MenteeEXP = 0;

        virtual ~MentorDialog()
        {
            delete TitleLabel;
            delete CloseButton;
            delete AllowButton;
            delete AddButton;
            delete RemoveButton;
            delete MentorNameLabel;
            delete MentorLevelLabel;
            delete MentorOnlineLabel;
            delete StudentNameLabel;
            delete StudentLevelLabel;
            delete StudentOnlineLabel;
            delete MentorLabel;
            delete StudentLabel;
            delete MenteeEXPLabel;
        }

        MentorDialog();

        void UpdateInterface();

    };
}
